home *** CD-ROM | disk | FTP | other *** search
/ Bath / Bath CDROM.iso / pc / BATH.DXR / Internal_18_Key.ls < prev    next >
Encoding:
Text File  |  2001-07-26  |  329 b   |  21 lines

  1. global map
  2.  
  3. on mouseUp me
  4.   if the member of sprite 108 = member("key-normal") then
  5.     set the member of sprite 108 to member("key-disabled")
  6.   else
  7.     set the member of sprite 108 to member("key-normal")
  8.   end if
  9.   tell map
  10.     toggleKey()
  11.   end tell
  12. end
  13.  
  14. on mouseEnter me
  15.   cursor(280)
  16. end
  17.  
  18. on mouseLeave me
  19.   cursor(-1)
  20. end
  21.